package cn.lanqiao.system.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * (SystemUser)实体类
 *
 * @author david
 * @since 2024-03-15 10:23:38
 */
@Data
@Table(name = "system_user")
public class User implements Serializable {
    private static final long serialVersionUID = 758181136904770984L;
    /**
     * 用户唯一标识
     */
    @Id
    private Integer userId;

    private String userName;

    private String password;

    private String facePic;

    private String email;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date createTime;
    /**
     * 0|1
     */
    private Integer isLocked;

}
